package me.chan.chatting.server.model;

import lombok.Data;
import lombok.ToString;

import java.util.Collections;
import java.util.Set;

@Data
@ToString(callSuper = false)
public class Group {

    private String name;

    private Set<String> members;

    public static final Group EMPTY_GROUP = new Group("empty", Collections.emptySet());

    public Group(String name, Set<String> members) {
        this.name = name;
        this.members = members;
    }
}
